<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;

/* @var $this yii\web\View */
/* @var $searchModel common\models\DdWxappHelpSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Dd Wxapp Helps';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="dd-wxapp-help-index">



    <p>
        <?= Html::a('添加 Dd Wxapp Help', ['create'], ['class' => 'btn btn-success']) ?>
    </p>

    <?php Pjax::begin(); ?>
    <?php // echo $this->render('_search', ['model' => $searchModel]);?>
    <div class="panel panel-default">
        <div class="box-body">
            <div class="panel-heading">
                <h3  class="panel-title"><?= Html::encode($this->title) ?></h3>
            </div>

    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'help_id',
            'title',
            'content:ntext',
            'sort',
            'wxapp_id',
            //'create_time:datetime',
            //'update_time:datetime',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>

    <?php Pjax::end(); ?>

</div>
    </div>
</div>